<template>
   <div>
     <div id="hearder">
       <router-link to='/personage'>
       <van-icon id="fanhui" name="arrow-left" />
       </router-link>
       <p id="ge">修改生日</p>
     </div>
     <van-datetime-picker
  v-model="currentDate"
  type="date"
  title="选择年月日"
  :min-date="minDate"
  :max-date="maxDate"
/>
   </div>
</template>

<script lang="ts">
export default {
  data() {
    return {
      minDate: new Date(1900, 0, 1),
      maxDate: new Date(2025, 10, 1),
      currentDate: new Date(),
    };
  },
};
</script>

<style lang="scss" scoped>
#hearder{
  width: 100%;
  height: 100px;
  line-height: 100px;
  
}
#fanhui{
  font-size: 36px;
}
#ge{
  margin-left: 160px;
  margin-top: -120px;
}
</style>